export default eventHandler((event: any) => {
    const id = event.context.params.id
    if (typeof id !== 'number') {
        setResponseStatus(event, 403)
        return {
            code: 403,
            message: '删除失败',
        }
    }
    return {
        code: 200,
        message: '删除成功',
    }
})
